package org.jeecg.modules.iot.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class CarLocationReq {

    @ApiModelProperty(value = "当前纬度",required = true)
    @NotNull(message = "currentLatitude 不能为空")
    Double currentLatitude;
    @NotNull(message = "currentLongitude 不能为空")
    @ApiModelProperty(value = "当前经度",required = true)
    Double currentLongitude;
    /**
     * 是否只查询车辆出租状态 0-未出租 1-已出租
     */
    Integer isLease;
    /**
     * 千米
     */
    Integer range;

}
